<?php /* Smarty version 2.6.26, created on 2014-10-22 16:21:47
         compiled from edit.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/js/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统设置</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">发布通知</a></li> 
  	</ul>
    </div> 
    
  	<div id="tab1" class="tabson">
    
    <div class="formtext">Hi，<b><?php echo $_SESSION['admin']; ?>
</b>，您在试用博文编辑功能！</div>
    
    <ul class="forminfo">
        <form method="post" enctype="multipart/form-data">
            <input type="hidden" name="bid" value="<?php echo $this->_tpl_vars['field']['bid']; ?>
" />    
            <li>
                <label>
                    分类名称 <b>*</b>
                </label>
                <input name="title" type="text" class="dfinput" value="<?php echo $this->_tpl_vars['field']['title']; ?>
"  style="width:518px;"/>    
            </li>
            <li>
                <label>
                    图片 <b>*</b>
                </label>
                <input type="file" name="thumb" class="dfinput" style="width:200px;margin-right:5px;"/>    
                <input type="hidden" name="thumb" value="<?php echo $this->_tpl_vars['field']['thumb']; ?>
" />    
                <img src="<?php echo @__ROOT__; ?>
/<?php echo $this->_tpl_vars['field']['thumb']; ?>
" style="width:100px;" />    
            </li>
   
    <li><label>职位名称<b>*</b></label>  
    

    <div class="vocation">
    <select class="select1" name="cid">
    <?php unset($this->_sections['cat']);
$this->_sections['cat']['loop'] = is_array($_loop=$this->_tpl_vars['categoryData']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cat']['name'] = 'cat';
$this->_sections['cat']['show'] = true;
$this->_sections['cat']['max'] = $this->_sections['cat']['loop'];
$this->_sections['cat']['step'] = 1;
$this->_sections['cat']['start'] = $this->_sections['cat']['step'] > 0 ? 0 : $this->_sections['cat']['loop']-1;
if ($this->_sections['cat']['show']) {
    $this->_sections['cat']['total'] = $this->_sections['cat']['loop'];
    if ($this->_sections['cat']['total'] == 0)
        $this->_sections['cat']['show'] = false;
} else
    $this->_sections['cat']['total'] = 0;
if ($this->_sections['cat']['show']):

            for ($this->_sections['cat']['index'] = $this->_sections['cat']['start'], $this->_sections['cat']['iteration'] = 1;
                 $this->_sections['cat']['iteration'] <= $this->_sections['cat']['total'];
                 $this->_sections['cat']['index'] += $this->_sections['cat']['step'], $this->_sections['cat']['iteration']++):
$this->_sections['cat']['rownum'] = $this->_sections['cat']['iteration'];
$this->_sections['cat']['index_prev'] = $this->_sections['cat']['index'] - $this->_sections['cat']['step'];
$this->_sections['cat']['index_next'] = $this->_sections['cat']['index'] + $this->_sections['cat']['step'];
$this->_sections['cat']['first']      = ($this->_sections['cat']['iteration'] == 1);
$this->_sections['cat']['last']       = ($this->_sections['cat']['iteration'] == $this->_sections['cat']['total']);
?>
    <option value="<?php echo $this->_tpl_vars['categoryData'][$this->_sections['cat']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['categoryData'][$this->_sections['cat']['index']]['catname']; ?>
</option>
    <?php endfor; endif; ?>
    </select>
    </div>
    
    </li>
    <li><label>博文内容<b>*</b></label>
    

    <textarea id="content7" name="content" style="width:700px;height:250px;visibility:hidden;"><?php echo $this->_tpl_vars['field']['content']; ?>
</textarea>
    
    </li>
    <li><label>&nbsp;</label><input type="submit" class="btn" value="马上发布"/></li>
    </form>
    </ul>
    
    </div>      
	</div> 
 
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>
</body>
</html>